<?php
namespace Users\Model;

class Rates
{
	public $sno;
	public $Flag;
	public $AreaPrefix;	
	public $CountryName;
	public $Preminum;	
	public $Standerd;
	public $BillingCycle;
	public $status;
	public function exchangeArray($data)
	{
		$this->sno					= (isset($data['sno']))			? $data['sno']     																	   : null;
        $this->Flag 				= (isset($data['Flag'])) 		? $data['Flag'] 																		 : null;
		$this->AreaPrefix 			= (isset($data['AreaPrefix'])) 	? $data['AreaPrefix'] 																		  : null;
		$this->CountryName  		= (isset($data['CountryName'])) ? $data['CountryName']  																   	   : null;
		$this->Preminum  			= (isset($data['Preminum']))    ? $data['Preminum']  																		: null;
		$this->Standerd  			= (isset($data['Standerd']))  	? $data['Standerd']  																		: null;
		$this->BillingCycle  			= (isset($data['BillingCycle']))  	? $data['BillingCycle']  																		: null;
		$this->status  			    = (isset($data['status']))  	? $data['status']  																		: null;
   }
	// Add the following method:
	public function getArrayCopy()
	{
		return get_object_vars($this);
	}

}